package com.emo.wowoblog.service.impl;

import com.emo.wowoblog.dao.QuestionTypeDao;
import com.emo.wowoblog.entity.QuestionType;
import com.emo.wowoblog.service.QuestionTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QuestionTypeServiceImpl implements QuestionTypeService {

    @Autowired
    QuestionTypeDao questionTypeDao;

    @Override
    public List<QuestionType> findAll() {
        return questionTypeDao.findAll();
    }
}
